package org.uu.serviceprovide.service.impl;

import com.alibaba.dubbo.config.annotation.Service;

import org.springframework.stereotype.Component;
import org.uu.service.IHelloService;

@Service(interfaceClass = IHelloService.class)
@Component
public class HelloServiceImpl implements IHelloService {

    @Override
    public String say(String name) {
        System.out.println("name = "+name);
        return "hello "+name;
    }
}
